package cn.tedu.generic;
/*本类用于练习高效for循环2*/
public class TestForEach {
    public static void main(String[] args) {
        Integer[] a ={1,2,3,4,5,6,7,8,9,10};
        String[] b = {"大哥","二哥","三哥","四哥","五哥","六哥","小弟"};
        char[] c ={'1','2','3','4','5'};
        for(Integer I:a){
            System.out.println(I);
        }
        for(String m:b){
            System.out.println(m);
        }
        for(char q:c){
            System.out.println(q);
        }
    }
}
